package com.crm.customers.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;


/**
 * 客户信息临时表<br>
 * */
public class CustomerInfoTemp extends CustomerInfo {

	private static final long serialVersionUID = -6772696610497783868L;

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
	
	
	private Integer owntype; //拥有人标识(0表示在你库中,1表示在其他人库中)
	
	private Long cusid; //客户id
	
	private CustomerInfo cinfo; //绑定的客户
	
	private Integer tempstate;     //客户状态
	
	
	
	public Integer getTempstate() {
		return tempstate;
	}
	public void setTempstate(Integer tempstate) {
		this.tempstate = tempstate;
	}
	public Long getCusid() {
		return cusid;
	}
	public void setCusid(Long cusid) {
		this.cusid = cusid;
	}
	public Integer getOwntype() {
		return owntype;
	}
	/**
	 * 设置拥有标识(-1表示资源库中无.0表示你独有,1表示其他人库中)
	 * */
	public void setOwntype(Integer owntype) {
		this.owntype = owntype;
	}
	public CustomerInfo getCinfo() {
		return cinfo;
	}
	public void setCinfo(CustomerInfo cinfo) {
		this.cinfo = cinfo;
	}
	
}
